package miiteen.customsportal.film.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import miiteen.common.json.jackson.LongSerialize;
import miiteen.common.utils.FieldMeta;
import miiteen.sys.base.bean.BasePo;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Name: CustomsPortal_Film_Resource
 * Des: -Bean
 * Author: yulp
 * Date: 2020-07-03
 * 影视资源（图片或视频）
 */
public class FilmResource extends BasePo {


    @FieldMeta(name = "")
    private long id;

    @FieldMeta(name = "影视Id")
    private long fileId;

    @FieldMeta(name = "新闻Id")
    private long newsInfoId;

    @FieldMeta(name = "影视资源")
    private String image;

    @FieldMeta(name = "视频")
    private String video;

    @FieldMeta(name = "删除状态")
    private int delState;

    @JsonSerialize(using = LongSerialize.class)
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getFileId() {
        return fileId;
    }

    public void setFileId(long fileId) {
        this.fileId = fileId;
    }

    @JsonSerialize(using = LongSerialize.class)
    public long getNewsInfoId() {
        return newsInfoId;
    }

    public void setNewsInfoId(long newsInfoId) {
        this.newsInfoId = newsInfoId;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public int getDelState() {
        return delState;
    }

    public void setDelState(int delState) {
        this.delState = delState;
    }
}
